<foreach name="users_kucun_log" item="v">
    <div class="fll_acc">
        <if condition="$v.status eq '1' ">
        	<a href="{:U('User/order_detail',array('id'=>$v[order_id]))}"><else/><a href="{:U('User/tihuo_detail',array('id'=>$v[tihuo_id]))}"></if>
         
         <div class="voucher-box">
         	<div class="flex-1"><if condition="$v.status eq '1' ">订单编号：<else/>提货编号：</if></div>
         	<div class="flex-2"><if condition="$v.status eq '1' ">{$v[order_sn]}<else/>{$v[tihuo_sn]}</if></div>
         </div>
         
         <div class="voucher-box">
         	<div class="flex-1"><if condition="$v.status eq '1' ">入库时间：<else/>提货时间：</if></div>
         	<div class="flex-2">{:date('Y-m-d H:i:s',$v[create_time])}</div>
         </div>
         
          <?php $kucun=unserialize($v['kucun']);foreach($kucun as $key => $value){ ?>
         <div class="voucher-box">
         	<div class="flex-2">{$goods_list[$key]['goods_name']}</div>
         	<div class="flex-1">{$value}</div>
         </div>
          <?php } ?>
         
         <span class="state-title"><if condition="$v.status eq '1' ">{$order_info[$v['order_id']]}<else/>{$tihuo_info[$v['tihuo_id']]}</if></span>
        <i class="Mright icon-right1"></i>
        </a>
    </div>
</foreach>